package wordstat;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;

/**
 * Created by IntelliJ IDEA.
 * User: Vladimir
 * Date: 23.06.12
 * Time: 20:43
 * To change this template use File | Settings | File Templates.
 */
public class DirectBudget {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String url = "http://direct.yandex.ru/registered/main.bBFhRXXdOsAj9JS0.pl?cmd=calcForecast&ajax=1&no_auto_catalog=1&validate_phrase_only=1&phrases=" + URLEncoder.encode("аккумуляторы");
//        String encodedUrl = URLEncoder.encode(url);
        System.out.println(url);
    }
}
